import json

js = "{\"name\": \"张三\",\"age\": 25,\"clazz\": \"一班\"}"

print(js)

stu = json.loads(js)

print(stu["name"])
print(stu["age"])
print(stu["clazz"])
print("clazz" in stu)
